package com.dragon.modules.yuegou.service.merchant;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.merchant.MerchantSalesMonthEntity;
import com.dragon.modules.yuegou.model.merchant.MerchantSales;
import com.dragon.modules.yuegou.model.merchant.MerchantSalesMonth;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 商铺销售额按月 服务接口
 *
 * @author pbuilder generated
 * @date 2019-07-11 14:42:53
 * @version 2.0
 */
public interface MerchantSalesMonthService extends IService<MerchantSalesMonthEntity> {

    /**
     * 计算租金管理费和租售比
     * @param busdId
     * @param statisticalTime
     * @return
     */
	MerchantSales countRentalSales(String busdId, LocalDateTime statisticalTime);

    /**
     * 查询配置数据列表
     * @param busdId
     * @return
     */
    List<MerchantSalesMonth> findList(String busdId);

}